Release 10.1A: OpenEdge Development:
Progress 4GL Handbook
Creating menu items
In a dynamic menu, menu items are individually created objects with their own handles. Because you can delete an entire menu by deleting the top-level menu, or by deleting the procedure that controls the widget pool for the menu, you can normally use the same object handle for all your menu items. Each one must be parented to the submenu that contains it. Therefore, each menu item can be used in only one menu or submenu. Typical menu item attributes include:
LABEL— The text label for the menu item.PARENT— The parent submenu handle.SENSITIVE— Set this to false to disable the menu item.SUBTYPE— The defaultSUBTYPEisNORMAL, for standard selectable menu items. Other valid values areREAD-ONLY(for a read-only menu item),SKIP(for a blank line in the menu), orRULE(to create a line between menu items).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |